package zt.song.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import jakarta.annotation.Resource;
import zt.song.domain.Auth;
import zt.song.domain.User;
import zt.song.service.UserService;
import zt.song.mapper.UserMapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 宋伟宁
* @description 针对表【t_user】的数据库操作Service实现
* @createDate 2023-12-11 13:56:33
*/
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User>
    implements UserService{

    @Resource
    private UserMapper userMapper;
    @Override
    public List<Auth> findAuths(Integer uid) {
        return this.userMapper.findAuths(uid);
    }
}




